package cz.data.common.mark.mybatis;

import cz.data.common.database.CacheDataSourceBean;
import cz.data.common.support.db.DbProperty;

import javax.sql.DataSource;

public class MybatisUtil {

    public static DataSource getDataSource(DbProperty property) {
        return CacheDataSourceBean.createDataSource(property);
    }
}
